<!DOCTYPE html>
<html>
<head>
    {include file="public/header" /}
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <form class="layui-form layui-form-pane" action="" id="formInfo">
            <!--<fieldset class="table-search-fieldset">-->
            <!--<legend>搜索信息</legend>-->
            <div style="margin: 10px 10px 10px 10px">
                <div class="layui-form-item">

                    <!--<div class="layui-inline" style="display: none">-->
                        <!--<button type="submit" class="layui-btn layui-btn-primary" lay-submit lay-filter="data-search-btn"><i class="layui-icon"></i> 搜 索</button>-->
                    <!--</div>-->
                    <div style="display: flex;flex-flow: nowrap;">
                        <div class="layui-inline">
                            <label class="layui-form-label">搜索信息</label>
                            <div class="layui-input-inline">
                                <input type="text"  name="keywords" placeholder="手机号或订单号或收货人" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-inline" id="area-picker">

                            <div class="layui-input-inline">
                                <select name="province" class="province-selector" lay-filter="province-1">
                                    <option value="">请选择省</option>
                                </select>
                            </div>
                            <div class="layui-input-inline">
                                <select name="city" class="city-selector" lay-filter="city-1">
                                    <option value="">请选择市</option>
                                </select>
                            </div>
                            <div class="layui-input-inline">
                                <select name="area" class="county-selector" lay-filter="county-1">
                                    <option value="">请选择区</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline">
                            <label class="layui-form-label">下单时间</label>
                            <div class="layui-input-inline">
                                <input type="text" id="update_time"  name="update_time" placeholder="下单时间" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                    </div>


                    <div style="display: flex">
                        <div class="layui-inline">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-inline" style="width: 100px;">
                                <select name="order_status" lay-filter="selectInfo">
                                    <option value="">全部</option>
                                    <option value="4">已完成</option>
                                    <option value="3">配送中</option>
                                    <option value="2" selected>待发货</option>
                                </select>
                            </div>
                        </div>
                        <div class="layui-inline" style="display: flex">
                            <label class="layui-form-label">金额区间</label>
                            <div class="layui-input-inline" style="margin-right:1px">
                                <input type="text"  name="price_start" placeholder="最小值" autocomplete="off" class="layui-input">
                            </div>
                            <span style="display: block;line-height: 2.5em;">--</span>
                            <div class="layui-input-inline">
                                <input type="text"  name="price_end" placeholder="最小值" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                    </div>

                </div>
            </div>
            <!--</fieldset>-->
        </form>



        <script type="text/html" id="toolbarDemo">
            <div class="layui-btn-container">
                <button class="layui-btn layui-btn-sm layui-btn-danger data-delete-btn" lay-event="delete"> 删除</button>
            </div>
        </script>

        <table class="layui-hide" id="currentTableId" lay-filter="currentTableFilter"></table>

        <script type="text/html" id="currentTableBar">
            <a class="layui-btn layui-btn-normal layui-btn-xs data-count-edit" lay-event="edit">详情</a>
            {{#  if(d.order_status === 3){ }}
            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="doreceive">确认收货</a>
            {{#  } else { }}
            <a class="layui-btn layui-btn-xs layui-btn-danger data-count-delete" lay-event="delete">删除</a>
            {{#  } }}

        </script>

    </div>
</div>
{include file="public/footer" /}

<script type="text/html" id="typeTpl">
    {{#  if(d.order_status === 1){ }}
    <span style="color: #28f51d;">待付款</span>
    {{# }else if(d.order_status === 2){ }}
    <span style="color: #f59b28;">待发货</span>
    {{# }else if(d.order_status === 3){ }}
    <span style="color: #f42540;">运输中</span>
    {{#  } else { }}
    <span style="color: rgba(0,0,0,0.11);">玩家退出</span>
    {{#  } }}
</script>

<script src="/static/admin/order/actionindex.js?v={$Think.const.TIMESTAMP}" charset="utf-8"></script>



</body>
</html>